home *** CD-ROM | disk | FTP | other *** search
- on somebutton
- set cname to item 1 of the name of cast the castNum of sprite clickOn()
- repeat while stillDown()
- if rollOver(clickOn()) then
- set the castNum of sprite clickOn() to the number of member (cname & ",D")
- else
- set the castNum of sprite clickOn() to the number of member (cname & ",U")
- end if
- updateStage()
- end repeat
- set the castNum of sprite clickOn() to the number of member (cname & ",U")
- updateStage()
- if rollOver(clickOn()) then
- return 1
- end if
- return 0
- end
-